package com.zzyl.service;

import com.aliyun.iot20180120.models.*;
import com.zzyl.base.PageResponse;
import com.zzyl.dto.DeviceDto;
import com.zzyl.dto.DevicePageQueryDto;
import com.zzyl.vo.DeviceVo;
import com.zzyl.vo.ProductVo;

import java.util.List;

public interface DeviceService {

    /**
     * 从物联网平台同步产品列表
     */
    void syncProductList();

    List<ProductVo> allProduct();

    void RegisterDevice(DeviceDto deviceDto);

    PageResponse<DeviceVo> pageQueryDevice(DevicePageQueryDto devicePageQueryDto);

    DeviceVo QueryDeviceDetail(QueryDeviceDetailRequest queryDeviceDetailRequest);

    QueryThingModelPublishedResponseBody.QueryThingModelPublishedResponseBodyData QueryThingModelPublished(QueryThingModelPublishedRequest queryThingModelPublishedRequest);

    void updateDevice(DeviceDto deviceDto);

    void deleteDevice(DeleteDeviceRequest deleteDeviceRequest);

    QueryDevicePropertyStatusResponseBody.QueryDevicePropertyStatusResponseBodyData queryDevicePropertyStatus(QueryDevicePropertyStatusRequest queryDevicePropertyStatusRequest);
}